home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000065_news@newsmaster….columbia.edu _Wed Dec 30 15:19:13 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA06082
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 30 Dec 1998 15:19:12 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id PAA07022
  7.     for kermit.misc@watsun; Wed, 30 Dec 1998 15:19:12 -0500 (EST)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.os.linux.networking,comp.protocols.kermit.misc
  11. Subject: Re: problem testing out my modem with Kermit
  12. Date: 30 Dec 1998 20:19:09 GMT
  13. Organization: Columbia University
  14. Lines: 65
  15. Message-ID: <76e1rt$cmo$1@apakabar.cc.columbia.edu>
  16. References: <368917ec.0@news.total.net>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.os.linux.networking:162105 comp.protocols.kermit.misc:9698
  19.  
  20. In article <368917ec.0@news.total.net>,
  21. Stephane et Sophie <frenault@total.net> wrote:
  22. : I would like to try out my modem using Kermit (6.0)
  23. : before configuring the ppp connection with my Redhat 5.1,
  24. : as it is suggested in the howto.
  25. : I have a modem connected to /dev/ttyS3, but Kermit says
  26. : "/dev/ttyS3 is not a terminal device"...
  27. :
  28. That is because isatty("/dev/ttyS3") returns 0, meaning, "no, this
  29. device is NOT a tty" (terminal device; i.e. a serial port).
  30.  
  31. : Can anybody tells me what goes wrong ?
  32. :
  33. It's probably a Winmodem.  See below.
  34.  
  35. : Here is the session:
  36. : #kermit
  37. : Warning: terminal type unknown: "xterm"
  38. :
  39. This is because Kermit tries to initialize the curses library
  40. (so it can put up a curses-based fullscreen file-transfer display
  41. whenever you transfer files), but your curses library does not
  42. recognize the name "xterm".  Solution: make sure there is an xterm
  43. entry in your termcap/terminfo database (I can't imagine why there
  44. isn't one already).
  45.  
  46. : What about the default TEXT mode  (and not BINARY as in the example
  47. : of the howto) ?
  48. :
  49. That has to do only with transferring files, but since you are only
  50. using Kermit to poke at your modem, this has no relevance.  Thus you
  51. can ignore this message as well as the one about unknown terminal type.
  52.  
  53. : My modem is a "Win cruise V. 90, internal 56K PCI Faxmodem with
  54. : VoiceMail and Caller ID". I am not sure if it is a winmodem or not, 
  55. : since it is not written explecitely, but may it is ? How can I be sure ?
  56. You definitely can't tell by looking at it.  Most new PCs come with a
  57. no-name Winmodem built in.  These devices simply can not be used by
  58. Linux or any other non-Windows operating system.
  59.  
  60. "/dev/ttyS3 is not a terminal device" is a good indication that this is
  61. not a real serial device.  The fact that your modem has "Win" in its name
  62. is an ever stronger indication.
  63.  
  64. Anybody who reads this newsgroup with any regularity knows what comes next:
  65. go buy yourself a real modem, and let's hope your PC has at least one real
  66. COM port to connect it to!  Meanwhile, lodge a vigorous complaint with
  67. your PC vendor.
  68.  
  69. External modems are recommended for more reasons than can be counted --
  70. they are well worth the extra few dollars.
  71.  
  72. - Frank
  73.  
  74. P.S. I suggest that future versions of Linux add the following to
  75. <sys/errno.h>:
  76.  
  77.   #define xxx EWINMODEM ; Process attempted to open or use a Winmodem
  78.  
  79. so that applications can give informative messages to users :-)
  80. (I'm only 1/4 serious -- the software needed to figure out if a device
  81. is a Winmodem is probably no more feasible than the software that would
  82. be needed to use it.)